<?php
/*
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2017-12-13 03:39:35 apple $
*/
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'detail';
$return=array();
$return['account']=pdo_get('core_accounts',array('uniacid'=>$_SESSION['uniacid']));
$return['account']['navs']=json_decode($return['account']['navs'],true);
$return['account']['naddress']=json_decode($return['account']['naddress'],true);
$return['account']['hdps']=json_decode($return['account']['hdps'],true);
$return['account']['links']=json_decode($return['account']['links'],true);
$return['account']['cip']=json_decode($return['account']['cip'],true);
$plugin_name=pdo_getcolumn('core_account_group',array('id'=>$return['account']['groupid']),'plugin_name');
$return['account']['pluginurl']=$plugin_name?custom_url($plugin_name.'/index/',true):'jy_weishop';
$return['extradata']=array();
$return['groups']=pdo_getall('core_account_article_fenlei',array('uniacid'=>$_SESSION['uniacid']),array('id','title','picurl'));
if($_RQ['op']=='detail'){
	$return['sharedata']=array(
		'title'=>'关于我们-'.$_SESSION['account']['title'],
		'desc'=>$_SESSION['account']['desc'],
		'imgUrl'=>ATTACHMENT_URL.$_SESSION['account']['logo'],
	);
	set_html('header','common/header-cms');
	set_html('title','关于我们-'.$_SESSION['account']['title']);
	exi($return);
}
?>